package com.info.zhiduoduo.repository.dto.account;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)  //setter return this;
@ToString
public class TradeRecordBriefDto {

	@ExcelIgnore
	private int tradeid;

	@ExcelProperty(value = "交易单号")
	private String tradeno;

	@ExcelIgnore
	private String userid;

	@ExcelProperty(value = "创客")
	private String username;

	@ExcelIgnore
	private String compid;

	@ExcelProperty(value = "企业")
	private String compname;

	@ExcelIgnore
	private int idtype;

	@ExcelIgnore
	private int projectid;

	@ExcelProperty(value = "交易金额")
	private BigDecimal tradeamount;

	@ExcelIgnore
	private int tradetype;

	@ExcelIgnore
	private int tradestate;

	@ExcelIgnore
	private int repay;

	@ExcelProperty(value = "交易目的")
	private String purpose;

	@ExcelIgnore
	private String errorcode;

	@ExcelIgnore
	private String errormsg;

	@ExcelProperty(value = "创建时间")
	private Date createtime;

	@ExcelIgnore
	private String partnerOrderNo;

	@ExcelIgnore
	private Date tradetime;

	@ExcelIgnore
	private int whetherOvertime;

	@ExcelProperty(value = "操作员id")
	private Integer adminid;

	@ApiModelProperty("支付方式ID")
	@ExcelIgnore
	private Integer payId;

	@ApiModelProperty("支付方式名称")
	@ExcelIgnore
	private String payName;
}
